<?php

	class Connection {
		
		public static function open() {
			$connection = mysql_connect("localhost", "root", "") or die("connection error");
			mysql_select_db("suwasewa", $connection);
			return $connection;
		}
		
		public static function close($connection) {
			mysql_close($connection);
		}
		
	}
?>